﻿using System;
using System.Collections.Generic;
using Calimbra.Addin.Functions;
using Calimbra.Addin.Messages;

namespace Calimbra.Addin.Boards
{
    internal class Create_function_unit_classes
    {
        private readonly Action<List<FunctionUnit>> process;

        public Create_function_unit_classes(Create_files create_files,
                                            Create_file_infrastructure_code create_file_infrastructure_code)
        {
            process += create_files.Process;
            process += create_file_infrastructure_code.Process;
        }

        public void Process(List<FunctionUnit> functionUnit)
        {
            process(functionUnit);
        }
    }
}